package com.learning.sims;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.learning.sims.people.WorkPeople;

public class MainActivity extends AppCompatActivity {

    private World world;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        world = new World();
        WorkPeople workPeople = new WorkPeople();
        world.addPeople(workPeople);

    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        world.stop();
    }
}
